#ifndef USERINFOWIDGET_H
#define USERINFOWIDGET_H

#include <QDialog>
#include <QWidget>
#include <QIcon>
#include <QGridLayout>
#include <QPushButton>
#include <QLabel>

#include "model/data.h"

using model::UserInfo;

class UserInfoWidget : public QDialog
{
    Q_OBJECT
public:
    UserInfoWidget(const UserInfo& user, QWidget* parent = nullptr);

    void initSignalslot();

private:
    QPushButton* m_applybtn;
    QPushButton* m_sendbtn;
    QPushButton* m_deletebtn;

    UserInfo m_self;
};

#endif // USERINFOWIDGET_H
